﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using IntroduceCompany.Singleton;

namespace IntroduceCompany.Models
{
    public class GenderModels
    {

        /// <summary>
        /// Get gender list filter by language
        /// </summary>
        /// <param name="languageID"></param>
        /// <returns></returns>
        public IQueryable<Gender_L> GetGenderList(String languageID)
        {

            return DataSingleton.GetInstance().Gender_Ls.Where(gender => gender.LanguageID == languageID);
        }
    }
}